#ifndef _CPOOL_H_
#define _CPOOL_H_

#include "uutil.h"
#define SIZE 1024
#define TIME_PORT 12233
#define SERVER_IP "127.0.0.1"

typedef enum { false, true } bool;

typedef struct 
{	
	int	sockfd;
	bool	found;
	char	buffer[SIZE];
}	cpool_t;

cpool_t	cpool;
struct	sockaddr_in	serv_addr;

void cpool_init();
void cpool_query(char *sql);
void mysql_Connect( char *,...);
#endif /* _CPOOL_H_ */